package com.tidc.commonality.fallbackFactory;

import com.tidc.commonality.api.StudentDeleteApi;
import com.tidc.commonality.ov.UserOV;
import feign.hystrix.FallbackFactory;

/**
 * @ClassNmae StudentDeleteFallbackFactory
 * @Description TODO
 * @Author 冯涛滔
 **/
public class StudentDeleteFallbackFactory implements FallbackFactory<StudentDeleteApi> {
	@Override
	public StudentDeleteApi create(Throwable throwable) {
		return new StudentDeleteApi() {
			@Override
			public UserOV deleteWork(int id, String token) {
				return null;
			}

			@Override
			public UserOV deleteMember(int teamId, String token, int stduentId) {
				return null;
			}
		};
	}
}
